
package com.rt.schedulenew.web;
import com.rt.schedulebase.dto.ExamApplyDto;
import org.springframework.web.bind.annotation.PostMapping;
import com.rt.schedulenew.utils.global.JsonResult;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.beans.factory.annotation.Autowired;
import com.rt.schedulenew.api.IExamApplyService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping({ "/query" })
public class QueryController
{
    @Autowired
    private IExamApplyService examApplyService;
    
    @PostMapping({ "/examSchedule/list" })
    public JsonResult getExamScheduleList(@RequestBody ExamApplyDto dto) {
        JsonResult jsonResult = examApplyService.getExamSchedules(dto);
        return jsonResult;
    }
}
